Auto-Active Proof of Red-Black Trees in SPARK
نویسندگان
چکیده
Formal program verification can guarantee that a program is free from broad classes of errors (like reads of uninitialized data and run-time errors) and that it complies with its specification. Tools such as SPARK make it cost effective to target the former in an industrial context, but the latter is much less common in industry, owing to the cost of specifying the behavior of programs and even more the cost of achieving proof of such specifications. We have chosen in SPARK to rely on the techniques of auto-active verification for providing cost effective formal verification of functional properties. These techniques consist in providing annotations in the source code that will be used by automatic provers to complete the proof. To demonstrate the potential of this approach, we have chosen to formally specify a library of red-black trees in SPARK, and to prove its functionality using auto-active verification. To the best of our knowledge, this is the most complex use of auto-active verification so far.
منابع مشابه
Automatic Functional Correctness Proofs for Functional Search Trees
In a new approach, functional correctness specifications of insert/update and delete operations on search trees are expressed on the level of lists by means of an inorder traversal function that projects trees to lists. With the help of a small lemma library, functional correctness and preservation of the search tree property are proved automatically (in Isabelle/HOL) for a range of data struct...
متن کاملVerified Analysis of Functional Data Structures
In recent work the author has analyzed a number of classical functional search tree and priority queue implementations with the help of the theorem prover Isabelle/HOL. The functional correctness proofs of AVL trees, red-black trees, 2-3 trees, 2-3-4 trees, 1-2 brother trees, AA trees and splay trees could be automated. The amortized logarithmic complexity of skew heaps, splay trees, splay heap...
متن کاملExperimental Investigation on Hydrous Methanol Fueled HCCI Engine Using Spark Assisted Method
The present work investigates the performance and emission characteristics of hydrous methanol fuelled Homogeneous Charge Compression Ignition (HCCI) engine. In the present work a regular diesel engine has been modified to work as HCCI engine. Hydrous methanol is used with 15% water content in this HCCI engine and its performance and emission behavior is documented. A spark plug is used for ass...
متن کاملInhibitory Effect of Black and Red Pepper and Thyme Extracts and Essential Oils on Enterohemorrhagic Escherichia coli and DNase Activity of Staphylococcus aureus
In this study, extracts and essential oils of Black and Red pepper and Thyme were tested for antibacterial activity against Escherichia coli O157:H7 andStaphylococcus aureus. Black and Red pepper and Thyme were provided from Iranian agricultural researches center. 2 g of each plant powder was added to 10 cc ethanol 96°. After 24 h, the crude extract was separated as an alcoholic extract and con...
متن کاملInhibitory Effect of Black and Red Pepper and Thyme Extracts and Essential Oils on Enterohemorrhagic Escherichia coli and DNase Activity of Staphylococcus aureus
In this study, extracts and essential oils of Black and Red pepper and Thyme were tested for antibacterial activity against Escherichia coli O157:H7 andStaphylococcus aureus. Black and Red pepper and Thyme were provided from Iranian agricultural researches center. 2 g of each plant powder was added to 10 cc ethanol 96°. After 24 h, the crude extract was separated as an alcoholic extract and con...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017